add_custom_command(
	OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/syncup-service.h
	COMMAND ${CMAKE_COMMAND} -P nmake.cmake
	DEPENDS syncup-service.idl
	WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
add_custom_target(syncup_rpc DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/syncup-service.h)
set(SYNCUP_RPC_GEN_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/syncup-service.h PARENT_SCOPE)
